package com.serverTechnology.teamsGroups.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓库信息
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TE_WAREHOUSE_INFOR")
@ApiModel(value="TeWarehouseInfor对象", description="仓库信息")
public class TeWarehouseInfor extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    @JsonSerialize(using= ToStringSerializer.class)
    @ChineseDescription("ID")
    private Long id;

    @ApiModelProperty(value = "货架ID")
    @ChineseDescription("货架ID")
    @TableField("SHELF_ID")
    private String shelfId;

    @ApiModelProperty(value = "编码")
    @ChineseDescription("编码")
    @TableField("CODE")
    private String code;

    @ApiModelProperty(value = "名称")
    @ChineseDescription("名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "类型ID")
    @ChineseDescription("类型ID")
    @TableField("TYPE_ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long typeId;

    @ApiModelProperty(value = "尺寸ID")
    @ChineseDescription("尺寸ID")
    @TableField("SIZE_ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long sizeId;

    @ApiModelProperty(value = "层数")
    @ChineseDescription("层数")
    @TableField("LAYE_NUMBER")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long layeNumber;

    @ApiModelProperty(value = "列数")
    @ChineseDescription("列数")
    @TableField("COLUMN_NUMBER")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long columnNumber;

    @ApiModelProperty(value = "长度")
    @ChineseDescription("长度")
    @TableField("LENGTH")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long length;

    @ApiModelProperty(value = "宽度")
    @ChineseDescription("宽度")
    @TableField("WIDTH")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long width;

    @ApiModelProperty(value = "高度")
    @ChineseDescription("高度")
    @TableField("HEIGHT")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long height;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    @ChineseDescription("备注")
    private String remark;


}
